<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'zhuce.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  <script type="text/javascript" src="js/jquery-1.8.3.js"></script>
  <script type="text/javascript" src="js/login.js"></script>
  <link rel="stylesheet" href="CSS/login.css" type="text/css"></link>
  <style type="text/css">
		*{margin:0;padding:0;}
		li{ list-style-type:none;}
		span{ border-right:#898989 solid 1px;display:block;float:right;height:14px;margin-top:5px;
		margin-right:10px;margin-left:10px;}
		#footer{width: 847px;margin:0 auto;overflow:hidden;}
		#b1{width:400px;margin:0 auto;height:24px;line-height:24px;text-align:center;margin-top:30px;}
		#b1 ul{overflow:hidden;}
		#b1 li{float:left;}
		#b2{width:530px;margin:0 auto;font-size:12px;margin-top:15px;}
		#b3{width:210px;overflow:hidden;margin:0 auto;padding-top:15px;margin-bottom:30px; }
		#b3 img{float:left;padding-right:10px;}
		.col{color: green;}
	</style>
	
  </head>
  
  <body>
  	<div id="body">
    	<div id="img">
        	<img src="img/top.jpg"></img>
        </div>
    	<div id="h1">
        	<h1>欢迎注册电影天堂</h1>
        </div>
        <div id="tab">
        	<form action="user.do?action=login" method="post" name="loginform">
            	<table>
                	<tr>
                    	<td>请输入用户名：</td>
                        <td><input type="text" name="uname" id="uname" required pattern="^[\u4e00-\u9fa5_A-Za-z0-9_]{1,10}" value="您的账号和登录名" /></td>
                        <td id="un" style="color:#FF0000;font-size:12px;">${login}</td>
                    </tr>
                    <tr>
                    	<td>请输入密码：</td>
                        <td><input type="password" name="upwd" id="upwd" required pattern="^[0-9]{6,10}$" value=""/></td>
                        <td id="up" style="color:#FF0000;font-size:12px;"></td>
                    </tr>
                    <tr>
                    	<td>请输入确认密码：</td>
                        <td><input type="password" name="repwd" id="repwd" required value=""/></td>
                        <td id="ur" style="color:#FF0000;font-size:12px;"></td>
                    </tr>
                    <tr>
                    	<td>性别：</td>
                        <td><input type="radio" name="sex" value="男" checked="checked">男
                        <input type="radio" name="sex" value="女">女</td>
                        <td id="us"></td>
                    </tr>
                    <tr>
                    	<td>邮箱：</td>
                        <td><input type="email" name="email" id="email" required value="建议使用常用邮箱"/></td>
                        <td id="ue"></td>
                    </tr>
                    <tr>
                    	<td>电话：</td>
                        <td><input type="tel" name="tel" id="tel" required pattern="^1[0-9]{10}$" 
                        value="建议使用常用电话"/></td>
                        <td id="ut"></td>
                    </tr>
                    <tr>
                    	<td></td>
                        <td><input type="submit" id="submit" name="submit" value="提交"/>
                        <input type="reset" name="reset" id="reset" value="重置"/></td>
                    </tr>
                    
                </table>
            </form>
        </div>
    </div>
    <div id="footer">
		<div id="b1">
            	<ul>
	                <li><a href="movie.do">首页</a><span></span></li>
	                <li><a href="#">客户服务</a><span></span></li>
	                <li><a href="#">品牌合作</a><span></span></li>
	                <li><a href="#">网站联盟</a><span></span></li>
	                <li><a href="#">投诉与建议</a></li>
                </ul>
            </div>
		<div id="b2">
            	<p>copyright&copy;2011 vijia.com All Rights Reserved京ICP备08800757号 京公网安备110105005426</p>
            </div>
            <div id="b3">
            	<ul>
                    <li><img src="img/imgs/btm_logo_1.gif" /></li>
                    <li><img src="img/imgs/btm_logo_2.gif" /></li>
            	</ul>
            </div>
	</div>
  </body>
</html>
